import request from '@/utils/request'

//获取首页嘉宾数据
export function getHomeInfo() {
    return request.get({ url: '/Web/getHomeInfo'})
}

//获取嘉宾列表
export function getGuestsList(data:any) {
    return request.get({ url: '/Web/getGuestsList',data})
}

//获取嘉宾详情
export function getGuestsInfo(data:any) {
    return request.get({ url: '/Web/getGuestsInfo',data})
}

//系统字典
export function getDictInfo() {
    return request.get({ url: '/index/getDictInfo'})
}

//首次注册后完善用户信息
export function submitPerfectUserInfo(data:any) {
    return request.post({ url: '/Web/perfectUserInfo',data})
}

//获取个人信息接口
export function getUserInfoApi(data:any) {
    return request.post({ url: '/user/info',data})
}

//获取个人资料
export function updateUserInfoApi(data:any) {
    return request.post({ url: '/Web/updateUserInfo',data})
}

//获取嘉宾动态列表
export function getDynamicListApi(data:any) {
    return request.get({ url: '/Web/getDynamicList',data})
}

//发布动态
export function releaseDynamicApi(data:any) {
    return request.post({ url: '/Web/releaseDynamic',data})
}

//收藏/取消嘉宾
export function userCollectionApi(data:any) {
    return request.post({ url: '/Web/userCollection',data})
}

//获取vip套餐列表
export function getVipPackageListApi(data:any) {
    return request.get({ url: '/Web/getVipPackageList',data})
}

//获取vip套餐列表
export function payVipApi(data:any) {
    return request.post({ url: '/Web/payVip',data})
}

//获取消息组列表
export function getChatGroupListApi(data:any) {
    return request.get({ url: '/Web/getChatGroupList',data})
}

//获取消息列表
export function getChatListApi(data:any) {
    return request.get({ url: '/Web/getChatList',data})
}

//获取红娘个人中心
export function getDisInfoApi(data:any) {
    return request.get({ url: '/Dis/getDisInfo',data})
}

//申请红娘
export function applicationHn(data:any) {
    return request.post({ url: '/Web/applicationHn',data})
}